@charset "utf-8";
@import "reset";
@mixin paddinglrzero{
    padding-left: 0;
    padding-right: 0;
}
@mixin flexcenter{
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}
@mixin flexbetween{  
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
}
@mixin rowwidth{
    width: 85%;
}
@mixin paddinglf{
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}
@function v($p){
    @return $p/1440*100vw;
}

/*-------------------------------------------------------*/
//中部
.section_news{
    //news_top 顶部图片区
    .news_top{
        .row{
            padding-top: 40px;
            padding-bottom: 86px;
            @include paddinglf;
            //title 标题
            h2{color: #ff6b08;
                margin-bottom: 38px;}
            //news_top_pic 图片部分
            .news_top_pic{
                padding: 0 v(15);
                position: relative;
                border-radius: 3px;
                overflow: hidden;
                img{width: 100%;}
                //mask 遮罩
                .news_top_pic_mask{
                    width: 93.5%;
                    height: v(48);
                    font-size: v(14);
                    overflow: hidden;
                    background: black;
                    opacity: .7;
                    padding: v(14) v(22);
                    box-sizing: border-box;
                    color: white;
                    position: absolute;
                    bottom: -v(48);
                }
                img:hover{cursor: pointer;}
                img:hover~.news_top_pic_mask{
                    animation: moveup 1s both;
                }
            }
        }
    }
    //news_moments 动态
    .news_moments{
        @include paddinglf;
        padding-bottom: 32px;
        border-bottom: 1px dashed #d4d4d4;
        .row{
            padding-bottom: 38px;
            //news_moments_left 左图
            .news_moments_left{
                img{width: 100%;
                    padding: v(5);
                    box-sizing: border-box;
                    background: white;
                    border: 1px solid silver;
                    border-radius: 3px;}
                img:hover{
                    cursor: pointer;
                    transform: scale(1.1);
                    transition: all 1s;
                }
            }
            //news_moments_right 右文
            .news_moments_right{
                //title 标题
                h3{font-size: 18px;
                    color: #666666;
                    margin-bottom: 17px;}
                p{color: #2a2a2a;}
                .news_moments_right_word{
                    margin-bottom: 16px;
                    margin-top: 22px;
                    line-height: 20px;
                }
                //button 查看详情
                .news_moments_right_btn{
                    width: 100%;
                    text-align: right;
                    button{
                        width: 98px;
                        height: 32px;
                        border-radius: 15px;
                        background: white;
                        color: #ff6900;
                        border: 1px solid #ff6900;
                    }
                }
                    
                //触动
                h3:hover{
                    cursor: pointer;
                    color: #ff6900;}
                button:hover{color: white;
                    background: #ff6900;}
            }
        }
    }
    //news_page 分页
    .new_page{
        .row{
            padding-top: 5px;
            text-align: center;
            //
            .pagination > li > a,
            .pagination > li > span {
                color: #2A2A2A;
            }
            //
            .pagination > .active > a,
            .pagination > .active > span,
            .pagination > .active > a:hover,
            .pagination > .active > span:hover,
            .pagination > .active > a:focus,
            .pagination > .active > span:focus {
              z-index: 3;
              color: #fff;
              cursor: default;
              background-color: #e34637;
              border-color: #337ab7;
              border: 1px solid transparent;
            }
        }
    }
/*.section_about*/
} 
/*-------------------------------------------------------*/
@keyframes moveup{
    0%{transform: translateY(0);}
    80%{transform: translateY(v(-48));}
    100%{transform: translateY(v(-48));}
}
